First, Do No Harm: A Curricular Approach to Exceptions Introducing Refactoring to Promote Reliability

نویسنده

  • Duane Buck
چکیده

This paper advocates the adoption of deferred error coding within computer science curricula. It argues that it is both a sound development strategy and aligns well pedagogically. By deferring specific error handling, the student better appreciates its subtleties and its importance as an independent topic, and will tend to create more reliable applications. This paper includes other topics which may increase community awareness of the issues and enhance curricula: taxonomies of exceptions and exception handlers and the relationships between them, subtle pitfalls of exception handling, and factors influencing the selection of error reporting patterns. Much of the discussion is language independent, but specific attention is given to the Java checked exception controversy, which inspired the curriculum approach.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

First Do No Harm: Deferred Error Handling – A Curricular Approach to Exceptions

This paper advocates the adoption of deferred error handling within computer science curricula. It argues that it is both a sound development strategy and aligns well with pedagogically. By deferring error handling, the student better appreciates its subtleties and its importance as an independent topic. This paper also includes other topics which may enhance curricula: an analysis of error rep...

متن کامل

First, Do No Harm: A Curricular Approach to Exceptions

This paper advocates the adoption of deferred error coding within computer science curricula. It argues that it is both a sound development strategy and aligns well pedagogically. By deferring specific error handling, the student better appreciates its subtleties and its importance as an independent topic. This paper also includes other topics which may enhance curricula: taxonomies of exceptio...

متن کامل

ارائه رویکردی نوین یادگیری ماشین برای شناسایی و تجزیه و تحلیل دانش پدیده‌های استثنایی

Learning logic of exceptions is a substantial challenge in data mining and knowledge discovery. Exceptional phenomena detection takes place among huge records in a database which contains a large number of normal records and a few of exceptional ones. This is important to promote the confidence to a limited number of exceptional records for effective learning. In this study, a new approach base...

متن کامل

“First, Do No Harm”: Have the Health Impacts of Government Bills on Tax Legislation Been Assessed in Finland?

As taxation is one of the key public policy domains influencing population health, and as there is a legal, strategic, and programmatic basis for health impact assessment (HIA) in Finland, we analyzed all 235 government bills on tax legislation over the years 2007–2014 to see whether the health impacts of the tax bills had been assessed. We found that health impacts had been assessed for 13 bil...

متن کامل

Assessing the Quality of Refactoring Patterns for Introducing Design Patterns

Refactoring is a well-known process to improve the code design of object-oriented programs. Recently, several literatures focus on refactoring with introducing design patterns that are general repeated solutions to common problems in software design. For making it easy to perform such refactoring, a lot of refactoring patterns are proposed. Each refactoring pattern includes a description of ref...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013